<template>
  <div class="about">
    <h1>This is an about page</h1>
    <div>{{app.userinfo}}</div>
    <div>{{isWechat}}</div>
    <button class="btn-default" @click="app.getUserInfo(1)">更新</button>
  </div>
</template>
<script>
import plumage from 'plumage'
export default {
  inject: ['app'],
  data () {
    return {
      isWechat: plumage.isWechat
    }
  }
}
</script>
<style lang="scss" scoped>
  .about{
    padding: 16px;
    .btn-default{
      padding: 4px 12px;
      border-radius: 4px;
      border: 1px solid #eee;
      background: #ffffff;
      outline: none;
      margin-top: 20px;
    }
  }
</style>
